package com.service;

import com.dto.ReportForm;
import com.entity.OrderDetail;
import com.baomidou.mybatisplus.extension.service.IService;
import com.entity.Orders;
import com.utils.PageObject;
import com.vo.StorageReportVO;

import java.util.List;

/**
 * <p>
 *  入库订单详情服务类
 * </p>
 *
 * @author aiou
 * @since 2025-06-10
 */
public interface OrderDetailService{

    //检查订单的批号是否重复
    boolean checkBatchNo(String batchNoStr);
    //获取订单详情
    List<OrderDetail> list(String orderNo);
    //修改订单中检查订单批次号是否重复，若order_no相同，批次号可以重复
    boolean checkBatchNo(String orderNo,String batchNoStr);
    //采购退货单：退货明细下拉框
    List<OrderDetail> orderDetailList();
    //销售退货单：获取下拉框数据
    List<OrderDetail> saleReturnOrdersDetailList();
    //仓库统计：分页查询
    PageObject<StorageReportVO> storageReportList(PageObject pageObject, ReportForm form);
    //仓库统计：Excel导出查询
    List<StorageReportVO> storageReportVOExportList();
}
